package com.example.statuspattern.entity;

/**
 * @author ash
 * @description
 * @create 2023/2/16  22:44:32
 * @className ConcreteState
 * @verson 1.0.0
 */
public class ConcreteStateA extends State{

    @Override
    void handle(Context context) {
        System.out.println("a状态处理逻辑");
        context.setState(new ConcreteStateB());
    }
}
